package com.wuxianshen.string;

public class Demo12StaticStudent {
    public static void main(String[] args) {
        //首先设置一下教室，这个是静态的东西，应该通过类名称进行调用
        Student.room ="101教室";
        Student one = new Student("郭靖", 20);
        Student two = new Student("黄蓉", 16);
        System.out.println(one.getName());
        System.out.println(one.getAge());
        System.out.println(Student.room);
    }
}
